package yh.thread.system.shardingtest.dao;

import org.apache.ibatis.annotations.Mapper;
import yh.thread.system.shardingtest.model.RechargeRecordDO;

import java.math.BigDecimal;

/**
 * @author: zyh
 * @date: 2024/12/13 14:50
 **/
@Mapper
public interface RechargeRecordMapper {
    int countRechargeRecord();

    void saveRechargeRecord(RechargeRecordDO rechargeRecordDO);

    void updateCareObjectCashBalance(BigDecimal rechargeAmount, String careObjectId);
}
